package day09;

public class ThreadWithRunnable implements Runnable{

    private String name;
    private String value;

    public ThreadWithRunnable(String name ,String value){
        this.name = name;
        this.value = value;
    }

    @Override
    public void run() {
        for (int i=0;i<1000;i++){
            System.out.println(value);
        }
    }
}
